package com.qf.mybatis03.dao;

import com.qf.mybatis03.entity.Book;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BookDao {
    public Book getBookById(@Param("id") Integer id);
    public int insertManyBooks(@Param("books") List<Book> list);
    public int updateBook(Book book);
}
